﻿<UserControl x:Class="BookManagementWpfApplication.Views.UserControl.EditBookView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             FontFamily="Tahoma" FontSize="15"
             d:DesignHeight="530" d:DesignWidth="700">
    <ScrollViewer>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="60" />
            <RowDefinition Height="395" />
            <RowDefinition Height="45" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <StackPanel Name="stackPanel1" VerticalAlignment="Center">
            <TextBlock Height="34" Name="textBlock1" Text="แก้ไขข้อมูลหนังสือ" FontSize="22" FontWeight="Bold" Margin="20,0,0,0" />
        </StackPanel>
        
        <Rectangle Height="1" Margin="3,53,3,6" Name="rectangle1" Stroke="Black" Width="auto" />
        <Rectangle Grid.Row="1" Margin="123,5,123,8" Name="rectangle2" Stroke="Black" />
        
        <StackPanel Grid.Row="1" Name="stackPanel2" HorizontalAlignment="Center" Margin="0,10,0,0">
            <StackPanel Name="stackPanel3" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock2" Text="- ขื่อหนังสือ : " Margin="20,5,0,5" />
                <TextBox Height="23" Name="textBox1" Width="250" Margin="80,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel4" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock3" Text="- ชื่อผู้แต่ง / ผู้แปล : " Margin="20,5,0,5" />
                <TextBox Height="23" Name="textBox2" Width="250" Margin="38,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel5" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock4" Text="- ประเภท : " Margin="20,5,0,5" />
                <ComboBox Height="23" Name="comboBox1" Width="185" Margin="95,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel6" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock5" Text="- วัน/เดือน/ปี ที่จัดซื้อ : " Margin="20,7,0,3" />
                <DatePicker Height="25" Name="datePicker1" Width="185" Margin="22,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel7" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock6" Text="- เลขทะเบียนหนังสือ  : " Margin="20,5,0,5" />
                <TextBox Height="23" Name="textBox3" Width="205" Margin="21,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel8" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock7" Text="- รหัสบาร์โค้ด (ISBN) : " Margin="20,5,0,5" />
                <TextBox Height="23" Name="textBox4" Width="205" Margin="20,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel9" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock8" Text="- สถานะ : " Margin="20,5,0,5" />
                <ComboBox Height="23" Name="comboBox2" Width="132" Margin="102,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel10" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock9" Text="- วัน/เดือน/ปี ที่แก้ไข : " Margin="20,7,0,3" />
                <DatePicker Height="25" Name="datePicker2" Width="185" Margin="25,0,0,0" />
            </StackPanel>
            <StackPanel Name="stackPanel11" Orientation="Horizontal">
                <TextBlock Height="23" Name="textBlock10" Text="- หมายเหตุ : " Margin="20,5,0,77" />
                <TextBox Height="95" Name="textBox5" Width="250" Margin="85,5,0,5" />
            </StackPanel>
        </StackPanel>
        <StackPanel Grid.Row="2" Name="stackPanel12" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="แก้ไข" Height="25" Name="button2" Width="80" Margin="5,0" />
            <Button Content="ยกเลิก" Height="25" Name="button1" Width="80" Margin="5,0" />
        </StackPanel>
    </Grid>
    </ScrollViewer>
</UserControl>
